package com.forum.framework.redis.config;

import com.forum.framework.redis.core.RedisCache;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * Cache 配置类，基于 Redis 实现
 *
 * @author zihan.ouyang
 */
@AutoConfiguration
public class ForumCacheAutoConfiguration {

    @Bean
    public RedisCache redisCache() {
        return new RedisCache();
    }
}
